package org.springframework.aop.test;

import org.springframework.ioc.beanfactory.pojo.ProxyInterface;
import org.springframework.ioc.beanfactory.test.common.BeanFactoryBaseCase;

public class BeanAfterReturningAdvice extends BeanFactoryBaseCase {

	public BeanAfterReturningAdvice() {
		super(false);
	}

	public void testAfterAdvice(){
		ProxyInterface proxy = (ProxyInterface)beanFactory.getBean("proxyFactoryBean");
		System.out.println(proxy.getMsg());
	}
}
